package com.wind.framework.bean;

import java.lang.reflect.Method;

/**
 * @author： BeiYan
 * @Date： 2016-11-27 14:08
 * @Description:封装action信息
 */

public class Handler {

    /**
     * controller class
     */
    private Class<?> controllerClass;
    /**
     * action 方法
     */
    private Method actionMethod;

    public Handler(Class<?> controllerClass, Method actionMethod) {
        this.controllerClass = controllerClass;
        this.actionMethod = actionMethod;
    }

    public Class<?> getControllerClass() {
        return controllerClass;
    }

    public Method getActionMethod() {
        return actionMethod;
    }
}

